package com.kws.tool.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kws.common.core.domain.R;
import com.kws.tool.dto.CreateMeasureToolRq;
import com.kws.tool.dto.QueryMeasureToolRq;
import com.kws.tool.dto.info.QueryMeasureToolInfo;
import com.kws.tool.entity.TbMeasureTool;

public interface MeasureToolService extends IService<TbMeasureTool> {
    Page<TbMeasureTool> queryMeasureToolPage(QueryMeasureToolRq rq);

    R createMeasureTool(CreateMeasureToolRq rq);

    QueryMeasureToolInfo queryMeasureToolById(Long id);

    R updateMeasureTool(QueryMeasureToolInfo info);

    boolean deleteMeasureToolById(Long id);

    boolean updateMeasureToolStatusById(Long id, String status);
}
